package workai.fcx.com.message_module.bean;

import com.hxh.component.basicore.util.Utils;

public class MyMsgDTO {
    /**
     * id : 109729346725351424
     * subject : 厨师有新的应聘人
     * reminder_id : 83422060570742784
     * reminder : 周正友
     * category : recruit
     * status : active
     * creator :
     * creator_id : 102067859592581120
     * created_at : 1500964403
     * updated_at : 1500964403
     * tenant_id : 105431435438985216
     */

    private String id;
    private String subject;
    private String reminder_id;
    private String reminder;
    private String category;
    private String status;
    private String creator;
    private String creator_id;
    private int created_at;
    private int updated_at;
    private String tenant_id;
    private String content;

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getReminder_id() {
        return reminder_id;
    }

    public void setReminder_id(String reminder_id) {
        this.reminder_id = reminder_id;
    }

    public String getReminder() {

        return reminder;
    }

    public void setReminder(String reminder) {
        this.reminder = reminder;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCreator() {
        if(Utils.Text.isEmpty(reminder))
        {
            return subject;
        }
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getCreator_id() {
        return creator_id;
    }

    public void setCreator_id(String creator_id) {
        this.creator_id = creator_id;
    }

    public int getCreated_at() {
        return created_at;
    }

    public void setCreated_at(int created_at) {
        this.created_at = created_at;
    }

    public int getUpdated_at() {
        return updated_at;
    }

    public void setUpdated_at(int updated_at) {
        this.updated_at = updated_at;
    }

    public String getTenant_id() {
        return tenant_id;
    }

    public void setTenant_id(String tenant_id) {
        this.tenant_id = tenant_id;
    }


}
